package com.headwind.logistics.common.pojo;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * 菜单模块实体类
 */
@Data
public class Menu {

    private Long menuId;
    private String menuName;
    private Long menuManager;  //上级模块 0-一级菜单
    private String menuUrl;
    private String menuDetails; //描述
    private String menuIcon; //图标
    private Menu parent; //父级菜单
    private String perms; //权限字符串
    private List<Menu> children = new ArrayList<>();

    private List<Role> roleList;

}
